//
//  CTView.h
//  SampleMagazine
//
//  Created by admin on 3/5/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreText/CoreText.h>
#import "CTColumnView.h"



@interface CTView :  UIScrollView <UIScrollViewDelegate> 
{
    float frameXOffset;
    float frameYOffset;
    
    NSAttributedString* attString;
    
    NSMutableArray* frames;
    NSArray* images;
}

@property (retain, nonatomic) NSAttributedString* attString;
@property (retain, nonatomic) NSMutableArray* frames;

@property (retain, nonatomic) NSArray* images;

-(void)setAttString:(NSAttributedString *)attString withImages:(NSArray*)imgs;

-(void)attachImagesWithFrame:(CTFrameRef)f inColumnView:(CTColumnView*)col;

- (void)buildFrames;

@end
